import { ResearchEsgRatingComponent } from './researchEsgRating.component';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { EsgCompaniesListComponent } from './esgCompanyList/esgCompanyList.component';
import { PipesModule } from '../../../shared/pipes/pipes.module';
import { TableModule } from '../../../shared/components/table/table.module';
import { LandingPageHeaderModule } from '../../../shared/components/landing-page-header/landing-page-header.module';

const routes: Routes = [
    {
        path: '',
        component: ResearchEsgRatingComponent
    }
];


/**
 * Research Esg Rating module
 *
 * Author: Andrei Istrate
 * Date: 19.03.2018
 */
@NgModule({
    imports: [
        CommonModule,
        TableModule,
        LandingPageHeaderModule,
        RouterModule.forChild(routes)
    ],
    declarations: [
        EsgCompaniesListComponent,
        ResearchEsgRatingComponent
    ],
    exports: [
        RouterModule
    ]
})
export class ResearchEsgRatingModule { }
